.os-copy-mode {
    position: relative;
    width: 100%;
    margin-bottom: 10px;
    box-sizing: border-box;
}
.os-copy-mode .os-copy-content {
    margin-bottom: 10px;
    padding: 20px;
    color: #333;
    background: #f5f5f5;
    box-sizing: border-box;
    overflow: hidden;
}
.os-copy-mode .os-copy-content *:first-child {
    margin-top: 0;
}
.os-copy-mode .os-copy-content *:last-child {
    margin-bottom: 0;
}
.os-copy-mode.os-copy-mode-single .os-copy-content {
    width: 100%;
    min-height: 36px;
    padding: 5px 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
}
.os-copy-mode .os-copy-content.os-copy-center,
.os-copy-mode .os-copy-content.os-copy-center p {
    text-align: center;
}
.os-copy-mode.os-copy-mode-single .os-copy-content.os-copy-center p {
    text-indent: 0;
}
.os-copy-mode .os-copy-btn:active,
.os-copy-mode .os-copy-btn:focus,
.os-copy-mode .os-copy-btn:hover {
    outline: 0;
}
.os-copy-mode-footer .os-copy-btn.os-copy-btn-bottom,
.os-copy-mode-multi .os-copy-btn.os-copy-btn-bottom {
    display: inline-block;
    height: 32px;
    margin-right: 10px;
    padding: 0 15px;
    line-height: 32px;
    font-size: 14px;
    color: #fff;
    background: #3a6ea5;
    cursor: pointer;
}
.os-copy-mode .os-slide-btn {
    display: inline-block;
    height: 32px;
    padding: 0 15px;
    line-height: 32px;
    font-size: 14px;
    color: #fff;
    background: #f4791f;
    cursor: pointer;
}
.os-copy-mode.os-copy-mode-hide .os-copy-content {
    position: relative;
    height: 50px;
    overflow: hidden;
}
.os-copy-mode.os-copy-mode-hide .os-copy-content::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(245, 245, 245, .25), rgba(245, 245, 245, 1));
}
.os-copy-mode.os-copy-mode-hide .os-copy-btn {
    display: none;
}
.os-copy-mode .os-copy-btn-group {
    text-align: center;
}
.os-copy-mode .os-copy-btn-group .os-copy-btn {
    margin: 0 7.5px;
}
.os-copy-mode .os-copy-btn.os-copy-btn-bottom:active,
.os-copy-mode .os-slide-btn:active {
    -webkit-transform: scale(.9);    
    -moz-transform: scale(.9);    
    -m-transform: scale(.9);    
    transform: scale(.9);    
}
.os-copy-mode .os-copy-btn:hover,
.os-copy-mode .os-slide-btn:hover {
    -webkit-opacity: .9;
    -moz-opacity: .9;
    -m-opacity: .9;
    opacity: .9;
}
.os-copy-mode .os-copy-btn.os-copy-btn-top-left,
.os-copy-mode .os-copy-btn.os-copy-btn-top-right,
.os-copy-mode .os-copy-btn.os-copy-btn-bottom-left,
.os-copy-mode .os-copy-btn.os-copy-btn-bottom-right {
    display: inline-block;
    position: absolute;
    width: auto;
    height: auto;
    padding: 0 0.8em;
    font-size: 0.9em;
    color: black;
    color: #fff;
    background: #3a6ea5;
    cursor: pointer;
}
.os-copy-mode .os-copy-btn.os-copy-btn-top-left {
    top: 0;
    left: 0;
}
.os-copy-mode .os-copy-btn.os-copy-btn-top-right {
    top: 0;
    right: 0;
}
.os-copy-mode .os-copy-btn.os-copy-btn-bottom-left {
    bottom: 0;
    left: 0;
}
.os-copy-mode .os-copy-btn.os-copy-btn-bottom-right {
    right: 0;
    bottom: 0;
}

.os-copy-mode-single .os-copy-btn {
    position: absolute;
    top: 50%;
    right: 0;
    height: 30px;
    margin-top: -15px;
    padding: 0 15px;
    line-height: 30px;
    font-size: 14px;
    color: #fff;
    background: #3a6ea5;
    cursor: pointer;
}

.os-copy-mode .os-copy-btn.os-copy-color-black {
    background: #000000;
}
.os-copy-mode .os-copy-btn.os-copy-color-pink {
    background: #ffc0cb;
}
.os-copy-mode .os-copy-btn.os-copy-color-wennai {
    background: #ff6666;
}
.os-copy-mode .os-copy-btn.os-copy-color-green {
    background: #66cc99;
}
.os-copy-mode .os-copy-btn.os-copy-color-wechat {
    background: #44b549;
}
.os-copy-mode .os-copy-btn.os-copy-color-tianqing {
    background: #49afcd;
}

.os-copy-copy-code-btn {
    display: inline-block;
    position: absolute;
    bottom: auto;
    left: auto;
    top: 0;
    width: auto;
    height: auto;
    padding: 0 0.5em;
    font-size: 0.9em;
    color: black;
    border-radius: 0 0 5px 5px;
    text-shadow: none;
    background-color: #CFCFCF;
    z-index: 1;
    cursor: pointer;
}
